

struct p1(i32, char);

    struct p2{
        it1:p1,
        it2:bool,

    }

fn main()
{

    let tuple = (1_i32, 12_u64, 4_i32);

    let (a, b, c) = tuple;

    println!("{} {} {}", a, b, c);

    let x = p2{
    
        it1: p1(12, 'q'),
        it2: false,
    
    };

    
    let p2{
        it1: p1(v1, v2),
        it2: v3,
    
    
    } = x;

    println!("{} {} {}", v1, v2, v3);

}


